package top.hjc.orange.repository;

import org.springframework.data.repository.NoRepositoryBean;

import java.util.Optional;

/**
 * @author: huangjicheng
 * @date: 2025/10/10
 * @desc：
 */
@NoRepositoryBean
public interface OrangeJdbcRepository<T, ID> extends OrangeJdbcCurdRepository<T, ID>, OrangeJdbcPagingAndSortingRepository<T, ID> {

    <P> Optional<P> findById(ID id, Class<P> projectionType);
}
